package com.tianyang.yukuaifuzs.business.trade.contract;

import com.alibaba.fastjson.JSONObject;
import com.tianyang.yukuaifuzs.base.IBaseExtraView;
import com.tianyang.yukuaifuzs.base.IBasePresenter;
import com.tianyang.yukuaifuzs.business.trade.bean.ServicePlatformOutput;

import java.util.List;

/**
 * Description：服务商平台
 * Created by xyj on 2024/3/25
 */
public interface ServicePlatformContract {

    interface View extends IBaseExtraView<Presenter> {

        /**
         * 显示统计数据
         */
        void showAgentHomeStatView(JSONObject jsonObject);

        /**
         * 显示列表
         */
        void showAgentHomeListView(List<ServicePlatformOutput> outputs, boolean isFirst);

        /**
         * 上拉加载状态
         */
        void showLoadMore(String loadMore);
    }

    interface Presenter extends IBasePresenter {

        void appAgentHomeStatQb(int pageNum);
    }
}
